home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 September / DPPCPRO0999.ISO / Macromed / Flash2 / CD Extras / WebTools / JBS.DXR / 00086_next.ls < prev    next >
Encoding:
Text File  |  1997-04-13  |  939 b   |  50 lines

  1. on mouseDown
  2.   global PlaySpeed, indexGridMode, slideScale
  3.   StopPLay()
  4.   LeavePagePrep()
  5.   BtnDown()
  6.   if indexGridMode then
  7.     incMasterIndex()
  8.     dwell(20)
  9.     repeat while stillDown()
  10.       incMasterIndex()
  11.       dwell(PlaySpeed)
  12.     end repeat
  13.   else
  14.     incQTFrame()
  15.     dwell(20)
  16.     repeat while stillDown()
  17.       incQTFrame()
  18.       dwell(PlaySpeed)
  19.     end repeat
  20.     BtnUp()
  21.   end if
  22. end
  23.  
  24. on incQTFrame
  25.   set T to the movieTime of sprite 30
  26.   if T < (the stopTime of sprite 30 - 1) then
  27.     set the movieTime of sprite 30 to T + 1
  28.   else
  29.     set the movieTime of sprite 30 to 0
  30.   end if
  31.   UpdateFrameStats()
  32.   updateQTSlider()
  33.   updateStage()
  34. end
  35.  
  36. on incMasterIndex
  37.   global indexPage, indexEnd
  38.   if indexPage < indexEnd then
  39.     set indexPage to indexPage + 1
  40.   else
  41.     set indexPage to 1
  42.   end if
  43.   go(marker(0) + indexPage)
  44.   indexFrameUpdate()
  45. end
  46.  
  47. on myHelp
  48.   return "Click once to view next; Click and hold to scan"
  49. end
  50.